package com.ljt.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ljt.system.vo.UserVo;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;


@Repository
public interface UserVoMapper extends BaseMapper<UserVo> {
//    Page<UserVo> queryUserByPage(Page userPage);
    Page<UserVo> queryUserByUserName
    (Page userPage ,@RequestParam Integer departmentId, @RequestParam String username);

}
